package com.ruoyi.system.domain.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 人员告警对象人体属性关联表 personnel_alarm
 *
 * @author yingjie.liu
 * @date 2024-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("personnel_alarm_events_attr")
public class PersonnelAlarmEventsAttr implements Serializable {
private static final long serialVersionUID = 1L;

        /** 关联告警属性id */
        @TableId(value = "events_attr_id",type = IdType.NONE)
        private String events_attr_id;

        /** 越界方向 */
        @Excel(name = "越界方向")
        @TableField(value = "over_boundary_direction")
        private int over_boundary_direction;

        /** 方向1 */
        @Excel(name = "方向1")
        @TableField(value = "over_boundary_num1")
        private int over_boundary_num1;

        /** 方向2 */
        @Excel(name = "方向2")
        @TableField(value = "over_boundary_num2")
        private int over_boundary_num2;

        /**聚集人数*/
        @Excel(name = "聚集人数")
        @TableField(value = "crowd_num")
        private int crowd_num;

        /**聚集门限*/
        @Excel(name = "聚集门限")
        @TableField(value = "crowd_threshold")
        private int crowd_threshold;

        /** 离岗告警触发时长门限 */
        @Excel(name = "离岗告警触发时长门限")
        @TableField(value = "leave_time_threshold")
        private int leave_time_threshold;

        /** 离岗告警触发人数门限 */
        @Excel(name = "离岗告警触发人数门限")
        @TableField(value = "leave_num_threshold")
        private int leave_num_threshold;

        /** 帽子类型*/
        @Excel(name = "帽子类型")
        @TableField(value = "helmet_type")
        private String helmet_type;

        /** 工服颜色 */
        @Excel(name = "工服颜色")
        @TableField(value = "work_cloth_color")
        private String work_cloth_color;

        /** 工服类型 */
        @Excel(name = "工服类型")
        @TableField(value = "work_cloth_type")
        private String work_cloth_type;

        /** 工帽颜色 */
        @Excel(name = "工帽颜色")
        @TableField(value = "work_cap_color")
        private int work_cap_color;

        /** 是否打开了卸油模式*/
        @Excel(name = "是否打开了卸油模式")
        @TableField(value = "with_oiltanker")
        private Boolean with_oiltanker;

}
